

$(function() {
   
   // validation rules
    var rules = {};
    rules['company']       = set_rules('company', 'company', 'required|maxlength[10]');
    rules['name']          = set_rules('name', 'name', 'required|maxlength[100]');
    rules['description']   = set_rules('description', 'description', 'required|maxlength[1000]');

    // fieldset form validation
    addFormValidation( '#team-form', rules );
   
});
